package com.drg.center.entity.result;

import com.guaike.core.entity.annotation.EnumConvert;
import com.drg.center.entity.enums.UserStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/24
 */
@Data
@ApiModel("系统用户基本信息")
public class SysUserVO implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("真实姓名")
    private String realName;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("账号状态（字典码:10003）")
    @EnumConvert(clazz = UserStatusEnum.class, from = "code", to = "desc")
    private Integer status;
}
